import axios from "@/assets/request/request";

export default {
  follow: (authorId: string, isFollow: boolean) => {
    return axios({
      method: "post",
      url: `/follow/${authorId}/${isFollow}`
    })
  }
};